﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Control_GioiThieu : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            Label1.Visible = true;
            Label2.Visible = true;
            if (Session["DangNhap"] != null)
            {
                Label4.Visible = true;
                Label3.Visible = false;
                LinkButton1.Visible = false;
            }
            else
            {
                Label4.Visible = false;
                Label3.Visible = true;
                LinkButton1.Visible = true;
            }
        }
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Response.Redirect("~/TrangChu.aspx?dangky=DangKiThanhVien");
    }
}